﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.Equipment
{
    /// <summary>
    /// 设备类型
    /// </summary>
    public class EquipmentType
    {
        /// <summary> 主键 </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)] 
        public int Id { get; set; }

        /// <summary> 设备编码 </summary>
        public string EquipmentCode { get; set; }

        /// <summary> 设备名称 </summary>
        public string EquipmentName { get; set; }

        /// <summary> 状态 </summary>
        public int Status { get; set; }

        /// <summary> 备注 </summary>
        public string Descs { get; set; }

        /// <summary> 父级编码 </summary>
        public string ParentCode { get; set; }
    }
}
